/**
 * 
 */
package com.feeyin.radar.crm.model;

/**
 * @author E547415
 *
 */
public class BackCostHistory 
{
	private Integer id;
	private Integer contractCaseId;
	private Double officialCost;
	private Double operationCost;
	private Double proxyCost;
	private Integer backCostId;
	
	private ContractCase contractCase;
	
	
	public ContractCase getContractCase() {
		return contractCase;
	}
	public void setContractCase(ContractCase contractCase) {
		this.contractCase = contractCase;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getContractCaseId() {
		return contractCaseId;
	}
	public void setContractCaseId(Integer contractCaseId) {
		this.contractCaseId = contractCaseId;
	}
	public Double getOfficialCost() {
		return officialCost;
	}
	public void setOfficialCost(Double officialCost) {
		this.officialCost = officialCost;
	}
	public Double getOperationCost() {
		return operationCost;
	}
	public void setOperationCost(Double operationCost) {
		this.operationCost = operationCost;
	}
	public Double getProxyCost() {
		return proxyCost;
	}
	public void setProxyCost(Double proxyCost) {
		this.proxyCost = proxyCost;
	}
	public Integer getBackCostId() {
		return backCostId;
	}
	public void setBackCostId(Integer backCostId) {
		this.backCostId = backCostId;
	}

	public Double getHistoryTotal()
	{
		return officialCost + operationCost + proxyCost;
	}
}
